package com.woniu.adminservice.service.impl;

import com.woniu.adminservice.controller.UserDataService;
import com.woniu.adminservice.feignclient.UserFeign;
import com.woniu.adminservice.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Auther: huangjing  <br/>
 * Date: 2020/3/24$:17:39$  <br/>
 * Description:
 */
@Service
public class UserDataServiceImp implements UserDataService {
    @Autowired
    UserFeign userFeign;
    @Override
    public List selectUserInfoList() {
       List userInfoList= userFeign.userInfoList();
        return userInfoList;
    }
}